package com.cloudshop.service.user.entity;

import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 商家信息.
 *
 * @author 宫新程
 * @since 2019/4/1 18:58
 */
@Entity
@Table(name = "shop")
public class Shop {
  private String id;
  private Integer userId;
  private String companyName;
  private String shopName;
  private String password;
  private String email;
  private String mobile;
  private String telephone;
  private String status;
  private String address;
  private String linkmanName;
  private String linkmanQq;
  private String linkmanMobile;
  private String linkmanEmail;
  private String licenseNumber;
  private String taxNumber;
  private String orgNumber;
  private String logoPic;
  private String brief;
  private Date createTime;
  private String legalPerson;
  private String legalPersonCardId;
  private String bankUser;
  private String bankName;

  @Id
  @Column(name = "id")
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  @Basic
  @Column(name = "user_id")
  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  @Basic
  @Column(name = "company_name")
  public String getCompanyName() {
    return companyName;
  }

  public void setCompanyName(String companyName) {
    this.companyName = companyName;
  }

  @Basic
  @Column(name = "shop_name")
  public String getShopName() {
    return shopName;
  }

  public void setShopName(String shopName) {
    this.shopName = shopName;
  }

  @Basic
  @Column(name = "password")
  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  @Basic
  @Column(name = "email")
  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  @Basic
  @Column(name = "mobile")
  public String getMobile() {
    return mobile;
  }

  public void setMobile(String mobile) {
    this.mobile = mobile;
  }

  @Basic
  @Column(name = "telephone")
  public String getTelephone() {
    return telephone;
  }

  public void setTelephone(String telephone) {
    this.telephone = telephone;
  }

  @Basic
  @Column(name = "status")
  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  @Basic
  @Column(name = "address")
  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  @Basic
  @Column(name = "linkman_name")
  public String getLinkmanName() {
    return linkmanName;
  }

  public void setLinkmanName(String linkmanName) {
    this.linkmanName = linkmanName;
  }

  @Basic
  @Column(name = "linkman_qq")
  public String getLinkmanQq() {
    return linkmanQq;
  }

  public void setLinkmanQq(String linkmanQq) {
    this.linkmanQq = linkmanQq;
  }

  @Basic
  @Column(name = "linkman_mobile")
  public String getLinkmanMobile() {
    return linkmanMobile;
  }

  public void setLinkmanMobile(String linkmanMobile) {
    this.linkmanMobile = linkmanMobile;
  }

  @Basic
  @Column(name = "linkman_email")
  public String getLinkmanEmail() {
    return linkmanEmail;
  }

  public void setLinkmanEmail(String linkmanEmail) {
    this.linkmanEmail = linkmanEmail;
  }

  @Basic
  @Column(name = "license_number")
  public String getLicenseNumber() {
    return licenseNumber;
  }

  public void setLicenseNumber(String licenseNumber) {
    this.licenseNumber = licenseNumber;
  }

  @Basic
  @Column(name = "tax_number")
  public String getTaxNumber() {
    return taxNumber;
  }

  public void setTaxNumber(String taxNumber) {
    this.taxNumber = taxNumber;
  }

  @Basic
  @Column(name = "org_number")
  public String getOrgNumber() {
    return orgNumber;
  }

  public void setOrgNumber(String orgNumber) {
    this.orgNumber = orgNumber;
  }

  @Basic
  @Column(name = "logo_pic")
  public String getLogoPic() {
    return logoPic;
  }

  public void setLogoPic(String logoPic) {
    this.logoPic = logoPic;
  }

  @Basic
  @Column(name = "brief")
  public String getBrief() {
    return brief;
  }

  public void setBrief(String brief) {
    this.brief = brief;
  }

  @Basic
  @Column(name = "create_time")
  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  @Basic
  @Column(name = "legal_person")
  public String getLegalPerson() {
    return legalPerson;
  }

  public void setLegalPerson(String legalPerson) {
    this.legalPerson = legalPerson;
  }

  @Basic
  @Column(name = "legal_person_card_id")
  public String getLegalPersonCardId() {
    return legalPersonCardId;
  }

  public void setLegalPersonCardId(String legalPersonCardId) {
    this.legalPersonCardId = legalPersonCardId;
  }

  @Basic
  @Column(name = "bank_user")
  public String getBankUser() {
    return bankUser;
  }

  public void setBankUser(String bankUser) {
    this.bankUser = bankUser;
  }

  @Basic
  @Column(name = "bank_name")
  public String getBankName() {
    return bankName;
  }

  public void setBankName(String bankName) {
    this.bankName = bankName;
  }
}
